summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgerman77 <juangerman-13@hotmail.com>2023-07-24 16:05:47 +0200
committergerman77 <juangerman-13@hotmail.com>2023-07-24 16:59:14 +0200
commita0ed0e4e1045ec376d1c8b9c630be937081f66bd (patch)
treebb9a097165132d9f86c1a5da17579bedace707f4
parentMerge pull request #11042 from lat9nq/wayland-appimage (diff)
downloadyuzu-a0ed0e4e1045ec376d1c8b9c630be937081f66bd.tar
yuzu-a0ed0e4e1045ec376d1c8b9c630be937081f66bd.tar.gz
yuzu-a0ed0e4e1045ec376d1c8b9c630be937081f66bd.tar.bz2
yuzu-a0ed0e4e1045ec376d1c8b9c630be937081f66bd.tar.lz
yuzu-a0ed0e4e1045ec376d1c8b9c630be937081f66bd.tar.xz
yuzu-a0ed0e4e1045ec376d1c8b9c630be937081f66bd.tar.zst
yuzu-a0ed0e4e1045ec376d1c8b9c630be937081f66bd.zip
-rw-r--r--src/yuzu/game_list_worker.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/yuzu/game_list_worker.cpp b/src/yuzu/game_list_worker.cpp
index 5c910c9e0..9404365b4 100644
--- a/src/yuzu/game_list_worker.cpp
+++ b/src/yuzu/game_list_worker.cpp
@@ -265,7 +265,11 @@ void GameListWorker::AddTitlesToGameList(GameListDir* parent_dir) {
std::vector<u8> icon;
std::string name;
u64 program_id = 0;
- loader->ReadProgramId(program_id);
+ const auto result = loader->ReadProgramId(program_id);
+
+ if (result != Loader::ResultStatus::Success) {
+ continue;
+ }
const PatchManager patch{program_id, system.GetFileSystemController(),
system.GetContentProvider()};